find number of characters in file